import i18n from "@/lang/index";
const searchConfig = {
  pageName: "",
  formItems: [
    {
      type: "input",
      label: i18n.global.t("search.1"),
      prop: "id",
      attrs: {
        placeholder: i18n.global.t("search.1"),
        clearable: true,
        style: {
          width: "200px",
        },
      },
    },
    {
      type: "input",
      label: i18n.global.t("form.1"),
      prop: "username",
      attrs: {
        placeholder: i18n.global.t("form.1"),
        clearable: true,
        style: {
          width: "200px",
        },
      },
    },
    {
      type: "input",
      label: i18n.global.t("form.68"),
      prop: "name",
      attrs: {
        placeholder: i18n.global.t("form.68"),
        clearable: true,
        style: {
          width: "200px",
        },
      },
    },
     {
      type: "input",
      label: i18n.global.t("form.67"),
      prop: "phone_number",
      attrs: {
        placeholder: i18n.global.t("form.67"),
        clearable: true,
        style: {
          width: "200px",
        },
      },
    },
    {
      type: "input",
      label: 'Email',
      prop: "email",
      attrs: {
        placeholder: 'Email',
        clearable: true,
        style: {
          width: "200px",
        },
      },
    },
    {
      type: "input",
      label: i18n.global.t("label.117"),
      prop: "parent_id",
      attrs: {
        placeholder: i18n.global.t("label.117"),
        clearable: true,
        style: {
          width: "200px",
        },
      },
    },
    // {
    //   type: "input",
    //   label: i18n.global.t("search.3"),
    //   prop: "email",
    //   attrs: {
    //     placeholder: i18n.global.t("search.3"),
    //     clearable: true,
    //     style: {
    //       width: "200px",
    //     },
    //   },
    // }, 
    {
      type: "input",
      label: i18n.global.t("label.6"),
      prop: "ip_address",
      attrs: {
        placeholder:i18n.global.t("label.6"),
        clearable: true,
        style: {
          width: "200px",
        },
      },
    },
    {
      type: "custom",
      label: i18n.global.t("label.23"),
      prop: "status",
      attrs: {
        placeholder:i18n.global.t("label.23"),
        clearable: true,
        style: {
          width: "200px",
        },
      },
    },
    // {
    //   type: "custom",
    //   label: i18n.global.t("label.106"),
    //   prop: "is_test",
    //   attrs: {
    //     placeholder:i18n.global.t("label.106"),
    //     clearable: true,
    //     style: {
    //       width: "200px",
    //     },
    //   },
    // },
    {
      type: "date-picker",
      label: i18n.global.t("search.5"),
      prop: "created_at",
      attrs: {
        type: "datetimerange",
        "range-separator": "~",
        "start-placeholder": i18n.global.t("search.6"),
        "end-placeholder": i18n.global.t("search.7"),
        "value-format": "YYYY-MM-DD HH:mm:ss",
        style: {
          width: "360px",
        },
      },
    },
  ],
};

export default searchConfig;
